package com.ordertracker.persistent.dictionary;

import com.ordertracker.persistent.dictionary.template.GeneralEntityTemplate;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.MappedSuperclass;

/**
 * Description of class.
 * Created 2/11/13 12:59 PM
 *
 * @author andrey.rodin@playtech.com
 */

@Entity
public class Currency extends GeneralEntityTemplate {

    private static final long serialVersionUID = 2944667606085392760L;
    
    @Column(length = 3, nullable=false, unique=true)
    private String code;
    @Column(length = 100)
    private String name;
    @Column(length = 10)
    private String shortName;
    
    
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getShortName() {
		return shortName;
	}
	public void setShortName(String shortName) {
		this.shortName = shortName;
	}
    
    
}
